package ooday01homework;

public class OutLoopTest {
    public static void main(String[] args) {
        outLoop://冒号，跳出双层循环
        for (int i = 0; i < 100; ++i) {
            for (int j = 0; j <= i; ++j) {
                if (i == 3) {
                    break outLoop;
                }
                System.out.println(j);
            }
        }
    }

}

